﻿@model HackApp.Models.IdeaModel
@{
    ViewBag.Title = "Post your idea";
}

<div class="row-fluid">
                
    <!--Info column on the left-->
    <div class="span3 well">
		<h3>Have an idea?</h3>
        <p>We can't wait to see what you came up with!</p>
    </div>
        
    <!--Main content with tenders table-->    	
    <div class="span9">
        <ul class="breadcrumb">
			<li>@Html.ActionLink("Ideas List", "Index")</li>
			<li><span class="divider">/</span></li>
			<li class="active">Post an idea</li>
		</ul>

        @using (Html.BeginForm()) 
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <h3>Add your idea</h3>
        
            @Html.LabelFor(m => m.Name)
            @Html.TextBoxFor(m => m.Name, new { @class="span5" })
            @Html.ValidationMessageFor(m => m.Name)
                
            @Html.LabelFor(m => m.Description)
            @Html.TextAreaFor(m => m.Description, new { @class="span7" })
            @Html.ValidationMessageFor(m=>m.Description)
                
            @*Html.LabelFor(m => m.Category)
            @Html.TextBoxFor(m => m.Category, new { @class="span5" })
            @Html.ValidationMessageFor(m=>m.Category)*@
     
            <div class="margin-top">
                <input class="btn btn-success btn-large" type="submit" value="Post your idea" />
            </div>
          }
    </div>

</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
